import React from "react";
import { DatePicker as AntdDatePicker } from "../../antd/index";
import { commonProps } from ".";

// type
import { AntdWeekPickerProps } from ".";

export interface Props extends AntdWeekPickerProps {}

function WeekPicker(props: Props) {
  const weekPickerProps = {
    ...commonProps,
    ...props,
  };
  return <AntdDatePicker.WeekPicker {...weekPickerProps} />;
}

export default WeekPicker;
